package com.thomas.framework.entity;


import com.thomas.framework.core.EntityBase;

import java.util.Set;

/**
 * 角色表实体类
 */
public class SysRole extends EntityBase {





    private String id;

    private String name;


    private String description;


    private Set<SysModel> models;


    private boolean checked;


    public SysRole() {
    }

    public SysRole(String id) {
        this.id = id;
    }

    public SysRole(String id, String name, String description) {
        this.id = id;
        this.name = name;
        this.description = description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }




    public Set<SysModel> getModels() {
        return models;
    }

    public void setModels(Set<SysModel> models) {
        this.models = models;
    }


    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }
}